import 'package:flutter/material.dart';
import 'package:fluttergit/components/tabbar_page.dart';

void main() {
  runApp(MaterialApp(
    routes: {
      '/': (ctx) => TabbarPage(),
      '/detail': (context) => const Text("详情")
    },
    // home: Center(
    //   child: Text('中间的'),
    // ),
  ));
}
